<?php
/**
 * @author by bilee.
 * 时间: 17/2/15 上午10:14
 * 跑客端接口
 * 2.0beta版本
 */
namespace Api\Controller;
use Common\Controller\HomebaseController;

class V2pkController extends HomebaseController{

    //跑客接口权限校验
    function _initialize()
    {
        //parent::_initialize();
        //校验token
        pnerificationToken();
    }

    /**
     * 跑客首页数据
     */
    function pk_index(){
        //获取跑客用户ID
        $uid = I('uid');
        $dispatch = D('Dispatch');
        return RET(200,"请求成功！",$dispatch->pk_index_data($uid));
    }

}